
<?php
session_start();
require_once(dirname(__FILE__) . '/config.php'); ?>

<?php if ($_SESSION['USERID1'] == ''): ?>
	<?php require_once(ABSPATH . 'includes/login.php');?>
<?php else: ?>
	<?php require_once(ABSPATH . 'includes/functions.php');?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<title>gsUnity</title>

			<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
			<link rel="stylesheet" type="text/css" media="screen" href="media/css/reset/reset.css" />
			<!--[if IE]>
				<link rel="stylesheet" type="text/css" media="screen" href="css/reset/ie.css" />
			<![endif]-->

			<?php echo GetJs();?>
			<?php echo GetCss();?>
			<style type="">
*{
	font-weight: normal !important;
	font-size: 11.5px !important;
}
</style>

			<script type="text/javascript">
				$(document).ready(function (){
					AjaxSetup();
						 $(".menu").button({

			         });
				});
			</script>
		</head>
		<body style="background: #E2F0FD url(media/images/bg.png);">
			<div id="npm"></div>
			<div id="loading">
			    <div class="loading-circle-1">
			    </div>
			    <div class="loading-circle-2">
			    </div>
			</div>
<br/>
<!-- < h2 style="text-align: center; width: 982px">10 დეკემბრამდე  გვერდი მუშაობს სატესტო რეჟიმში</h2>  -->
	<table border="1"	style="width:850px; margin:30px auto; text-align: justify;">
		<tr style="height: 600px">
			<td><?php require_once(ABSPATH . 'includes/pages.php'); ?></td>
			<td style="width: 200px"></td>
			<td style="text-align: center;"><?php require_once('server-side/client.info.action.php'); ?>
			<a class="menu" style="width: 90px; font-family: serif;" href="?act=logout">გასვლა</a>
			<HR COLOR="#c5dbec" >
			<a class="menu" style="width: 90px; font-family: serif;" href="?pg=warehouse">შეკვეთები</a><br/>
			<a class="menu" style="width: 90px; font-family: serif;" href="?pg=document">გადახდები</a><br/>
			<a class="menu" style="width: 90px; font-family: serif;" href="?pg=Archive">არქივი</a><br/>
			<a class="menu" style="width: 90px; font-family: serif;" href="?pg=filials">ფილიალები</a><br/>
			<a class="menu" style="width: 90px; font-family: serif;" href="?pg=price">ფასები</a><br/>
		</tr>
	</table>
			<div  class="clear high"></div>
		</body>
	</html>
<?php endif;?>